CSS Property:
clip-path:

Note: The clip-path property is not supported for HTML elements in Edge/IE.

Result:
CSS Code:
img#myImg {
clip-path: circle(40%);
}
Click the property values above to see the result
W3Schools.com - Play it